/*
 * Script to display the AddChoiceForm
 * 
 * Author: Chris Casola
 */

(function() {
	
	/**
	 * Displays the CreateButtonForm on the page
	 */
	function AddChoiceForm(appFrame) {
		this.frame = appFrame;
		
		this.displayForm = function() {
			var content = "<section id='addChoiceForm'>" +
							"<h1>Question goes here...</h1>" +
							"<input type='text' id='choice' name='choice' size='55' /><br /><br />" +
							"<section id='submitChoiceSection' class='buttonPanel'><ul>" +
							"<li class='button' id='submitChoice'>Submit Choice</li></ul></section>" +
							"<section id='otherChoices'>" +
							"<h3>Other Player's Choices</h3>" +
							"<ul id='choiceList'></ul>" +
							"</section>" +
							"<section class='buttonPanel'>" +
							"<ul id='choiceFormButtons'>" +
							"</ul>" +
							"<p><span class='tip' id='joinOptions'>[?]</span></p></section></section>";
			return content;
		}
	}
	
	window.AddChoiceForm = AddChoiceForm;
}).call();
